扫雷外挂源码,远程线程技术,注入,初学者可以学习一下。
1
#define HOOK_DLL extern "C" __declspec(dllexport) CMyHookDllApp theApp; CMyHookDllDlg *pHookDlg; HHOOK g_hHook; LRESULT CALLBACK KeyboardProc(int nCode, WPARAM wParam, LPARAM lParam); HOOK_DLL BOOL WINAPI InstallHook(DWORD dwTID); HOOK_DLL BOOL WINAPI UnInstallHook(); LRESULT CALLBACK KeyboardProc(int nCode, WPARAM wParam, LPARAM lParam) { BOOL bKeyUp = lParam & (1<<31); if (bKeyUp && wParam == VK_F12 && nCode == HC_ACTION) { if (pHookDlg == NULL) { AFX_MANAGE_STATE(AfxGetStaticModuleState()); CWnd *pCWnd = CWnd::GetForegroundWindow(); pHookDlg = new CMyHookDllDlg(); pHookDlg->Create(IDD_DIALOG1, pCWnd); pHookDlg->ShowWindow(SW_SHOW); } else { pHookDlg->ShowWindow(pHookDlg->IsWindowVisible() ? SW_HIDE : SW_SHOW); } } return ::CallNextHookEx(g_hHook, nCode, wParam, lParam); } HOOK_DLL BOOL WINAPI InstallHook(DWORD dwTID) { if (g_hHook == NULL) { g_hHook = ::SetWindowsHookEx(WH_KEYBOARD, (HOOKPROC)KeyboardProc, theApp.m_hInstance, dwTID); if (g_hHook == NULL) { return FALSE; } MessageBox(NULL, "外挂已注入成功!按F12呼出外挂!", "提示", 0); } return TRUE; } HOOK_DLL BOOL WINAPI UnInstallHook() { //pHookDlg->DestroyWindow(); MessageBox(NULL, "外挂已移出成功!", "提示", 0); return ::UnhookWindowsHookEx(g_hHook); }
2022-04-14 16:31:24 248KB VC C++ MFC
1
扫雷外挂 该扫雷外挂具有自动扫雷和手动扫雷的功能,能智能判断地雷的具体位置并拥有特殊的智能排雷的功能,可使外挂拥有更低的失败概率,且具有较好的效率与直观的状态显示,完全支持默认的三种扫雷形式(初级、中级与高级),拥有鼠标区域映射,能与Windows®扫雷TM* 程序高度兼容。
2022-01-11 22:56:14 377KB 外挂 扫雷 扫雷外挂
1
基于c++实现的扫雷的辅助程序, 这是代码的演示链接,https://blog.csdn.net/qq_40285036/article/details/93534904。
2020-02-02 03:12:20 1.3MB 扫雷  扫雷外挂 c++
1